Skip to content

Reject scala.runtime's mutable refs in safe mode#25749

Merged
odersky merged 1 commit intoscala:mainfrom
dotty-staging:safe-reject-mutable-refs
Apr 10, 2026
Merged

Reject scala.runtime's mutable refs in safe mode#25749
odersky merged 1 commit intoscala:mainfrom
dotty-staging:safe-reject-mutable-refs

Conversation

@Linyxus
Copy link
Copy Markdown
Contributor

@Linyxus Linyxus commented Apr 9, 2026

How much have you relied on LLM-based tools in this contribution?

LLM helped to pinpoint the classes to disable and do DevOps.

How was the solution tested?

testCompilation

Additional notes

@sjrd
Copy link
Copy Markdown
Member

sjrd commented Apr 9, 2026

You might as well reject all of scala.runtime.*.

@noti0na1
Copy link
Copy Markdown
Member

noti0na1 commented Apr 9, 2026

You might as well reject all of scala.runtime.*.

I remember some desurgared code may refer to certain classes in this package.

@odersky odersky merged commit c1a14ee into scala:main Apr 10, 2026
106 of 107 checks passed
@odersky odersky deleted the safe-reject-mutable-refs branch April 10, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants